package cn.virens.redis;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.data.redis.connection.RedisConnectionFactory;

import cn.virens.config.SpringCacheRedisConfig;

@Configuration
@Import(SpringCacheRedisConfig.class)
public class RedisTestConfig {
	@Bean
	public RedisTest redisTest(RedisConnectionFactory redisConnectionFactory) {
		return new RedisTest(redisConnectionFactory);
	}
}
